<template>
  <div>
    <p>{{ title }}</p>
    <!-- <Son></Son> -->
  </div>
</template>
<script>
import Son from './son.vue'
export default {
  components: { Son },
  // provide选项提供变量
  provide: {
    message: 'provided by father',
  },
  data() {
    return {
      title: '父组件',
    }
  },
  methods: {},
}
</script>
